package com.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.context.annotation.ComponentScan;



/**
 * Hello world!
 *
 */
// 启动熔断器功能
@EnableCircuitBreaker
@ComponentScan(value = {"com.demo.controller"} )
@SpringBootApplication
public class ProviderDemoMainType
{
    public static void main( String[] args )
    {
        SpringApplication.run(ProviderDemoMainType.class, args);
    }
}
